public class HelloWorld {
    public static void main(String[] args) {
        System.out.println((true==true)?(true==true)?false:true:false);
    }
    public static void main4(String[] args) {
        System.out.println(5/2);
        System.out.println((float)5/2);
        System.out.println(5/(float)2);
        System.out.println((float)(5/2));

        System.out.println(10%3);
        System.out.println(10%-3);
        System.out.println(-10%3);
        System.out.println(-10%-3);
    }
    public static void main3(String[] args) {
        int a=12345;   //int -->String
        String ret=String.valueOf(a);
        System.out.println(ret);
        float b=176.9f;
        String rac=String.valueOf(b);
        System.out.println(rac);
    }
    public static void main2(String[] args) {
        int a=10;
        int b=20;
        System.out.println("a="+a);  //字符串+任何类型--》字符串
        System.out.println("b="+b);
        System.out.println("a+b="+(a+b));
        System.out.println("a+b="+a+b);
        System.out.println(a+b+"是a+b的和");

    }
    public static void main1(String[] args) {
        String str1="hello";  //在java中，，字符串相加相当与拼接的意思
        String str2="world";
        System.out.println(str1+str2);
    }
}
